﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="CheckInTaskDetailForm.aspx.cs" Inherits="App_Input_CheckInTaskDetailForm" Title="入住确认" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<%@ Import Namespace="Shpm.App.Input.Bean" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" >
function btnTable_Click()
{
var waterTable=window.document.getElementById('<%=txtWaterTable.ClientID%>');
var hotWaterTable=window.document.getElementById('<%=txtHotWaterTable.ClientID%>');
var drinkTable=window.document.getElementById('<%=txtDrinkTable.ClientID%>');
var electricTable=window.document.getElementById('<%=txtElectricTable.ClientID%>');
var gasFiredTable=window.document.getElementById('<%=txtGasFiredTable.ClientID%>');
waterTable.value="1.1";
hotWaterTable.value="2.2";
drinkTable.value="3.3";
electricTable.value="4.4";
gasFiredTable.value="5.5";

}
function tablereplce()
{
    var roomId=window.document.getElementById('<%=LabApartmentNo.ClientID%>').innerHTML;
    var waterTable=window.document.getElementById('<%=txtWaterTable.ClientID%>');
    var hotWaterTable=window.document.getElementById('<%=txtHotWaterTable.ClientID%>');
    var drinkTable=window.document.getElementById('<%=txtDrinkTable.ClientID%>');
    var electricTable=window.document.getElementById('<%=txtElectricTable.ClientID%>');
    var gasFiredTable=window.document.getElementById('<%=txtGasFiredTable.ClientID%>');
    
    var strtable=CommonAjaxUtils.GetRoomTable(roomId).value;
    
    if(strtable!=null)
    {
//        
//        var table=strtable.split(",");
//        waterTable.value=table[0];
//        hotWaterTable.value=table[1];
//        drinkTable.value=table[2];
//        electricTable.value=table[3];
            waterTable.value=strtable.WaterTable;
            hotWaterTable.value=strtable.HotWaterTable;
            drinkTable.value=strtable.DrinkTable;
            electricTable.value=strtable.ElectricTable
    }
}
</script>
<table border="0" class="table_border_line">
    <tr>
        <td align="left" style="height: 15px">
            <script language="javascript" type="text/javascript">
                (new TitleBar('MemberBar', '会员信息')).showBar();
            </script>
        </td>
    </tr>                        
</table>
<table class="table_border_line" style="background: ffffff">
    <tr>
        <td style="width: 16px" class="">
            &nbsp;</td>
        <td class="" style="width: 128px; height: 26px">
            房间编号：</td>
        <td class="" id="LabApartmentNo" runat="server">
            --
        </td>
    </tr>
    <tr>
        <td style="width: 16px" class="">
            &nbsp;</td>
        <td class="" style="width: 128px; height: 26px">
            合同编号：</td>
        <td class="" id="LabContractNo" runat="server">
            --
        </td>
    </tr>
    <tr>
        <td style="width: 16px" class="">
            &nbsp;</td>
        <td class="" style="width: 128px; height: 26px">
            主会员编号：</td>
        <td class="" id="LabMasterMemberNo" runat="server">
            --
        </td>
    </tr>
    <tr>
        <td style="width: 16px" class="">
            &nbsp;</td>
        <td class="" style="width: 128px; height: 26px">
            主会员姓名：</td>
        <td class="" id="LabMasterMemberName" runat="server">
            --
        </td>
    </tr>
    <tr>
        <td style="width: 16px" class="">
            &nbsp;</td>
        <td class="" style="width: 128px; height: 26px">
            副会员编号：</td>
        <td class="" id="LabSecondaryMemberNo" runat="server">
            --
        </td>
    </tr>
    <tr>
        <td style="width: 16px" class="">
            &nbsp;</td>
        <td class="" style="width: 128px; height: 26px">
            副会员姓名：</td>
        <td class="" id="LabSecondaryMemberName" runat="server">
            --
        </td>
    </tr>
    <tr>
        <td style="width: 16px" class="">
            &nbsp;</td>
        <td class="" style="width: 128px; height: 26px">
            陪住人编号：</td>
        <td class="" id="LabAccompanyMemberNo" runat="server">
            --
        </td>
    </tr>
    <tr>
        <td style="width: 16px" class="">
            &nbsp;</td>
        <td class="" style="width: 128px; height: 26px">
            陪住人姓名：</td>
        <td class="" id="LabAccompanyMemberName" runat="server">
            --
        </td>
    </tr>
</table>
<p>&nbsp;</p>

<table border="0" class="table_border_line">
    <tr>
        <td align="left">
            <script language="javascript" type="text/javascript">
                (new TitleBar('RoomItemBar', '房间设施')).showBar();
            </script>
        </td>
    </tr>                        
</table>
<asp:Table BorderWidth="0" CssClass="GridView_table" id="TblItem" runat="server">
    <asp:TableRow>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue" RowSpan="2" Width="160">
        <b>设施名称</b>
        </asp:TableHeaderCell>

        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue" RowSpan="2" Width="160">
            <b>品牌</b>
        </asp:TableHeaderCell>
        
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue" RowSpan="2" Width="130">
            <b>型号</b>
        </asp:TableHeaderCell>
        
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue" RowSpan="2" Width="80">
            <b>数量</b>
        </asp:TableHeaderCell>
        
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue" ColumnSpan="2" Width="160">
            <b>形式</b>
        </asp:TableHeaderCell>
        
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue" RowSpan="2">
            <b>备注</b>
        </asp:TableHeaderCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableHeaderCell CssClass="GridView_head_grayblue" Width="80"><b>公寓提供</b></asp:TableHeaderCell>
        <asp:TableHeaderCell CssClass="GridView_head_grayblue" Width="80"><b>自带</b></asp:TableHeaderCell>
    </asp:TableRow>
</asp:Table>

<p>&nbsp;</p>

<table border="0" class="table_border_line">
    <tr>
        <td align="left">
            <script language="javascript" type="text/javascript">
                (new TitleBar('TableBar', '数据确认')).showBar();
            </script>
        </td>
    </tr>                        
</table>
<table border="0" class="GridView_table">
    <tr>
        <td align="left">
            水表字：<asp:TextBox ID="txtWaterTable" runat="server" />    
            热水表字：<asp:TextBox ID="txtHotWaterTable" runat="server" />    
            直饮水表字：<asp:TextBox ID="txtDrinkTable" runat="server" />    
        </td>
    </tr>
    <tr>
        <td align="left" style="height: 25px">
            电表字：<asp:TextBox ID="txtElectricTable" runat="server" />    
            燃气表字：<asp:TextBox ID="txtGasFiredTable" runat="server" />&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input id="btnTable" type="button" class="button" value="自动抄表"  onclick="tablereplce()" style="width: 77px" runat="server"/></td>
    </tr>
    <tr>
        <td align="left">
            <font color="#ff0000">注：以上费用每月从一卡通中自动扣缴</font>
        </td>
    </tr>
</table>
<p>&nbsp;</p>

<table border="0" class="table_border_line">
    <tr>
        <td align="left">
            <script language="javascript" type="text/javascript">
                (new TitleBar('RequestBar', '物品领用确认')).showBar();
            </script>

            <cc1:ComValidator ID="ComValidator1" runat="server"> </cc1:ComValidator>
        </td>
    </tr>                        
</table>


<asp:Table BorderWidth="0" CssClass="GridView_table" id="TblGoods" runat="server">
      <asp:TableRow>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  Width="260">
        <b>物品名称</b>
        </asp:TableHeaderCell>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  Width="200">
        <b>编号</b>
        </asp:TableHeaderCell>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  Width="160">
        <b>数量</b>
        </asp:TableHeaderCell>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  >
        <b>备注</b>
        </asp:TableHeaderCell>
      </asp:TableRow>
    </asp:Table>











									
<p>&nbsp;</p>

<table border="0" class="table_border_line">
    <tr>
        <td align="left">
            <script language="javascript" type="text/javascript">
                (new TitleBar('ServicesBar', '服务开通确认')).showBar();
            </script>
        </td>
    </tr>                        
</table>

   
    <asp:Table BorderWidth="0" CssClass="GridView_table" id="TblService" runat="server">
      <asp:TableRow>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  Width="260">
        <b>需开通项目</b>
        </asp:TableHeaderCell>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  Width="160">
        <b>收费标准</b>
        </asp:TableHeaderCell>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  Width="80">
        <b>是否开通</b>
        </asp:TableHeaderCell>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  Width="160">
        <b>开通时间</b>
        </asp:TableHeaderCell>
        <asp:TableHeaderCell HorizontalAlign="left" CssClass="GridView_head_grayblue"  >
        <b>备注</b>
        </asp:TableHeaderCell>
      </asp:TableRow>
    </asp:Table>
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   <table>
    <tr>
        <td colspan="5">
        <font color="#ff0000">注：IPTV免收开通费410.00元/门，电话、IPTV帐单实行统一大帐单，上网费免开通费，细化到每户，居民可以查询</font>
        </td>
    </tr>
</table>
<p>&nbsp;</p>
<p align="center">
<asp:Button ID="BtnCheckIn" runat="server" Text="确认入住" OnClick="BtnCheckIn_Click" OnClientClick="javascript:return window.confirm('是否要入住登记？')"/>
<asp:Button ID="BtnUncheckIn" runat="server" Text="撤销入住" OnClick="BtnUncheckIn_Click" OnClientClick="javascript:return window.confirm('是否要撤销入住？')"/>
<asp:Button ID="BtnCheckOut" runat="server" Text="退住处理" OnClientClick="javascript:return window.confirm('是否要退住处理？')"/>
<asp:Button ID="btnBack" runat="server" Text="  返 回  " OnClick="btnBack_Click" />
</p>
</asp:Content>

